layui.use(['form', 'http', 'public', 'engine_form'], function () {
    init();
})

function init() {
    let LoadData=layui.engine_form.LoadData();
    layui.http.SendAjax(LoadData.PostUrl, LoadData.PostData, [], function (res) {
        layui.engine_form.LoadBack(res);
    })
}

function SendForm() {
    let SendData = layui.engine_form.SendData();
    layui.http.SendAjax(SendData.PostUrl, SendData.PostData, [], function (res) {
        layui.engine_form.SendBack(res);
    })
}

function SearchLoad(elem = '', type = '') {
    layui.engine_table.SearchLoad(elem, type);
}